package com.lishiots.cloud.datacenter.middleware.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Chaofan at 2018-11-19 13:26
 * email:chaofan2685@qq.com
 **/
public class User{

    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;

    //数据创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //用户名
    private String userName;

    //密码
    private String password;

    //备注
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
